﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using SadlandVillage.Core.Helper;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;

namespace SadlandVillage.Minigames.Mansion.Helper
{
    public static class StaticContainer
    {
        //Auxiliary
        private static ButtonState leftButton;
        public const int NUM_ROOMS = 4;
        public static int completedRooms = 0;

        //Rooms
        public static Texture2D gardenOl;
        public static Texture2D gardenBg;
        public static Texture2D entranceOl;
        public static Texture2D entranceBg;
        public static Texture2D firstFloorOl;
        public static Texture2D firstFloorBg;
        public static Texture2D secondFloorOl;
        public static Texture2D secondFloorBg;

        //Backgrounds
        public static Texture2D intro;
        public static Texture2D intro2;
        public static Texture2D gameOverLose;
        public static Texture2D gameOverWin;

        //Alternative Fonts
        public static SpriteFont getReadyFont;

        //Methods
        public static bool IsMouseClick()
        {
            bool result = false;
            if (Mouse.GetState().LeftButton == ButtonState.Pressed && leftButton == ButtonState.Released)
            {
                result = true;
            }
            leftButton = Mouse.GetState().LeftButton;

            return result;
        }

        //Sounds
        public static Song bgm1;
        public static SoundEffect scream;

    }
}
